<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<base href="<%=basePath%>">
	<title>写私信</title>

	

	
	<link href="../skin/mail_files/write_files/write.css" rel="stylesheet" type="text/css">
	<script src="../skin/mail_files/write_files/less-1.3.0.min.js" type="text/javascript" charset="utf-8"></script>
</head>

<body id="create_pm" style="margin-bottom: 5px; ">
	<div class="content" id="content">
		<h2 class="pop_header">写私信</h2>
		<div class="pop_header_shadow"></div>



		<form action="pmsend" method="post">
			<div class="write-box">
				<div class="item-wrap cf">
					<label for="receive" class="fl">收件人：</label>
					<input type="text" id="receive" class="receriver fl" name="pc.receiptor.name">
					<s:if test="tm.message != null"><span class="message-warn">${tm.message }</span></s:if>
				</div>
				<div class="item-wrap cf">
					<label for="pm_content" class="fl">内容：</label>
					<textarea id="pm_content" class="fl" name="pc.content"></textarea>
				</div>	
				<p class="cf">
					<span class="fl">还可以输入<span class="wordNum"><span>300</span></span>字</span>
					<input type="submit" value="发  送" class="submit-btn fr">
						<a href="javascript:void(0);" onclick="window.top.$.wokaobox.close();"  class="cancel fr">取消</a>
				</p>
				<input type="hidden" id="context_path" value="">
			</div>
		</form>



	</div>

<script src="../skin/mail_files/write_files/jquery-1.7.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../skin/mail_files/write_files/maxLength-0.1.js" type="text/javascript" charset="utf-8"></script>
<script src="../skin/mail_files/write_files/createPm.js" type="text/javascript" charset="utf-8"></script>
<script src="../skin/mail_files/write_files/message-zh.js" type="text/javascript" charset="utf-8"></script>

<script type="text/javascript">
		$(function(){
			$('form').isCreatePm();
		});
</script>


<div id="save-pop" style="display:none;">
	<div class="save save-success">保存成功！</div>
	<div class="save save-fail" style="display:none;">保存失败！</div>
</div>


</body></html>